{block name="checkout_paypal_plus_payment_modules"}

{assign var="paypal_position" value=$module_content|recursive_array_search:'paypal3'} {assign var="hub_paypal_position" value=$module_content|recursive_array_search:'gambio_hub-PayPalHub'} {foreach name=payment_items item=module_data from=$module_content} {block name="checkout_paypal_plus_payment_modules_payment_item"}
- {block name="checkout_paypal_plus_payment_modules_payment_item_label"} {block name="checkout_paypal_plus_payment_modules_payment_item_module_icon"} {if $module_data.logo_url} {/if} {/block} {block name="checkout_paypal_plus_payment_modules_payment_item_module_info"} {block name="checkout_paypal_plus_payment_modules_payment_item_module_info_name"} {block name="checkout_paypal_plus_payment_modules_payment_item_module_info_name_text"} {$module_data.module} {/block} {block name="checkout_paypal_plus_payment_modules_payment_item_cost_if"} {if $module_data.id != 'paypal3' && $module_data.module != '' && $module_data.module_cost && $module_data.id !== 'gambio_hub-PayPalHub'} {block name="checkout_paypal_plus_payment_modules_payment_item_cost"} ({$module_data.module_cost}) {/block} {/if} {/block} {/block} {block name="checkout_paypal_plus_payment_modules_payment_item_module_info_description_if"} {if $module_data.description !== '' && $module_data.description !== ' '} {block name="checkout_paypal_plus_payment_modules_payment_item_module_info_description"} {$module_data.description} {/block} {/if} {/block} {block name="checkout_paypal_plus_payment_modules_payment_submodules_if"} {if $module_data.fields != '' && $module_data.fields[0].title != '' && $module_data.fields|@count > 0} {block name="checkout_paypal_plus_payment_modules_payment_submodules"} {block name="checkout_paypal_plus_payment_modules_payment_submodules_form"} {foreach name=submodules item=method_data from=$module_data.fields} {block name="checkout_paypal_plus_payment_modules_payment_submodul"} {block name="checkout_paypal_plus_payment_modules_payment_submodul_label_if"} {if $method_data.title && $method_data.title != ''} {block name="checkout_paypal_plus_payment_modules_payment_submodul_label"} {$method_data.title} {/block} {/if} {/block} {block name="checkout_paypal_plus_payment_modules_payment_submodul_input"} {assign var="label" value=$method_data.title|replace:":":""} {$method_data.field|replace:"class=\"gm_class_input\"":"class=\"form-control input-sm\" placeholder=\"$label\""|replace:"style=\"width:200px\"":""} {/block} {/block} {/foreach} {/block} {/block} {/if} {/block} {/block} {block name="checkout_paypal_plus_payment_modules_payment_item_module_selection"} {$module_data.selection} {/block} {/block}
{/block} {/foreach}

{/block}